Total Complexity | 58 |
Dependencies | 3 |
Dependents | 0 |
Total lines | 634 |
Lines of code | 446 |
Logical lines of code | 140 |
Comment lines | 106 |
Methods | 14 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_csv_data() | 52 | 11 | 22 | |
prepare_item_for_response() | 52 | 10 | 21 | |
prepare_item_for_database() | 54 | 8 | 25 | |
get_item_schema() | 35 | 1 | 123 | |
register_routes() | 36 | 1 | 120 | |
add_log() | 52 | 6 | 24 | |
import_products() | 59 | 5 | 14 | |
get_inventory_products() | 51 | 4 | 26 | |
update_inventory_product() | 54 | 3 | 20 | |
bulk_delete() | 62 | 3 | 11 | |
create_inventory_product() | 58 | 2 | 15 | |
get_inventory_product() | 59 | 2 | 13 | |
delete_inventory_product() | 67 | 1 | 7 | |
get_product_types() | 73 | 1 | 5 |